package com.woniu.Service;

import com.github.pagehelper.PageInfo;
import com.woniu.vo.OrderVo;

/**
 * @Author:Gwj
 * @Date:2024/7/9 11:57
 */
public interface OrderService {
    //分页查询所有订单
    PageInfo<OrderVo> findAllOrderByPage(int pageNum,int pageSize) throws Exception;

    // 条件查询 并且分页
    PageInfo<OrderVo> findOrdersByConditions(OrderVo orderVo, int pageNum, int pageSize) throws Exception;
}
